<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta name="renderer" content="webkit">
    <title>登录页面</title>
    <link rel="stylesheet" th:href="@{../css/bootstrap.css}">
    <link rel="shortcut icon" th:href="@{../images/logo.jpg}">
    <script th:src="@{../js/jquery-3.6.0.js}"></script>
    <script th:src="@{../js/bootstrap.js}"></script>
    <script>
        function goBack() {
            window.history.back()
        }
    </script>
</head>
<style>
    .form-group{
        width: 200px;
    }
</style>
<body>
<ul class="nav nav-pills nav-pills">
    <li role="presentation" class="active"><a th:href="@{/toinstructorindex}">返回主页</a></li>
    <li role="presentation" ><a th:href="@{/instructorlist}">辅导员信息管理</a></li>
    <li role="presentation"><a th:href="@{/departmentlist}">二级学院信息管理</a></li>
    <li role="presentation" class="active" ><a th:href="@{/touserupdate}">个人信息管理</a></li>
</ul>
<span class="label label-success">修改个人信息</span>
<form id="user_audit" th:action="@{/userupdate}"   method="post">
    <div class="form-group" >
        <span class="input-group-addon" id="sizing-addon1" >工号:</span>
        <input th:value="${session.USER_SESSION.getUserid()}"  type="text"name="userid" class="form-control" placeholder="辅导员编号">
    </div>

    <div class="form-group">
        <select class="form-control" name="fullname">
            <option  th:text="系统管理员" th:value="系统管理员"></option>
            <option  th:text="学生" th:value="学生"></option>
            <option  th:text="辅导员" th:value="辅导员"></option>

        </select>
    </div>
    <div class="form-group">
        <span class="input-group-addon" id="sizing-addon3">密码:</span>
        <input th:value="${session.USER_SESSION.getPassword()}" type="text" name="password" class="form-control" placeholder="二级学院名称" >
    </div>
    <div class="form-group">
        <span class="input-group-addon" id="sizing-addon4">电话:</span>
        <input th:value="${session.USER_SESSION.getTelephone()}" type="text" name="telephone" class="form-control" placeholder="电话" >
    </div>

    <div class="form-group">
        <button type="submit"  class="btn btn-default" >修改</button>
    </div>

</form>
</div>
</body>
</html>